package rolesystem.middle.utilityclasses;

import java.io.Serializable;

public class SearchResult implements Serializable
{
	public int weight;
	public PositionSq found_position;
	
	public SearchResult(int x, int y, int weight)
	{
		this.found_position=new PositionSq(x,y);
		this.weight=weight;
	}
	
	public SearchResult(PositionSq pos, int weight)
	{
		this.found_position=new PositionSq(pos);
		this.weight=weight;
	}
}